using NHibernate.Validator.Constraints;
using SharpArch.Core.DomainModel;

namespace good1.Core
{
    public class Charity : Entity
    {
        public Charity() { }
		
		[NotNull, NotEmpty]
		public virtual string CharityName { get; set; }
        public virtual string Name { get { return CharityName; } }
        //convention states we should use just Name to make automapping more fluent, TODO delete CharityName and clean up db etc

		[NotNull, NotEmpty]
		public virtual string Url { get; set; }

		[NotNull, NotEmpty]
		public virtual string Description { get; set; }

		[NotNull, NotEmpty]
		public virtual string TagLine { get; set; }

        [NotNull, NotEmpty]
        public virtual string LogoUrl { get; set; }

    }
}
